package com.seocoo.worker.friend.req;

import com.seocoo.worker.base.http.BasePageRsp;
import com.seocoo.worker.base.http.DWBaseRequest;
import com.seocoo.worker.friend.entity.Friend;

/**
 * author : Ssp
 * e-mail : 981297079@qq.com
 * date   : 2020/3/720:48
 * desc   : 搜索工友
 * version: 1.0
 */
public class ReqFriendSearch extends DWBaseRequest<BasePageRsp<Friend>> {
    String city;
    String keyword;
    int pageNum;
    int pageSize = 10;

    public ReqFriendSearch(int pageNum) {
        super("/api/cityman/cityManList");
        this.pageNum = pageNum;
    }

    public ReqFriendSearch(int pageNum, String keyword, String city) {
        this(pageNum);
        this.keyword = keyword;
        this.city = city;
    }

    @Override
    public Object buildParam() {

        return super.buildParam();
    }
}
